/**
 * 
 */
package com.baiyi.cloud.platform;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

import com.ctrip.framework.apollo.spring.annotation.EnableApolloConfig;



//@Configuration
@EnableApolloConfig
@EnableZuulProxy
@EnableDiscoveryClient
@SpringBootApplication
@EnableHystrixDashboard
public class GatewayApp {

	public static void main(String[] args) {
		System.setProperty("spring.profiles.active", "slave2");
		SpringApplication.run(GatewayApp.class, args);
	}

}
